#include <iostream>
using namespace std;

struct widget {
	char brand[20];
	int type;
	union {
		long id_num;
		char id_char[20];
	};
};

int main() {
	widget prize;
	if (prize.type == 1) {
		cin >> prize.id_num;
		cout << prize.id_num << ";\n";
	} else {
		cin >> prize.id_char[20];
		cout << prize.id_char[20] << endl;
	}
	return 0;
}

